package com.yjyw.tiexie.util.update;

import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.Window;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

/**
 * Created on 2019/8/12.
 *
 * @author ${AUTHOR}
 * TODO:
 */
public class AppUpdateDialog extends Dialog {

    public AppUpdateDialog(@NonNull Context context) {
        super(context);
    }

    public AppUpdateDialog(@NonNull Context context, int themeResId) {
        super(context, themeResId);
    }

    protected AppUpdateDialog(@NonNull Context context, boolean cancelable, @Nullable DialogInterface.OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        this.requestWindowFeature(Window.FEATURE_NO_TITLE);
    }
}
